#version 330 core

in vec2 TexCoords;

uniform float Time;
uniform float Speed;
uniform sampler2D image;

out vec4 FragColor;

void main()
{
	vec3 c = texture2D(image, vec2(TexCoords.x+Time*Speed, TexCoords.y)).rgb;
    
    FragColor = vec4(c, 1.0);
}
